import 'package:get/get.dart';
import 'package:oli/pages/add_record/binding.dart';
import 'package:oli/pages/add_record/view.dart';
import 'package:oli/pages/login/binding.dart';
import 'package:oli/pages/login/view.dart';
import 'package:oli/pages/main/binding.dart';
import 'package:oli/pages/main/view.dart';
import 'package:oli/pages/splash/binding.dart';
import 'package:oli/pages/splash/page.dart';

class MainRoutePath {
  static var init = "/init";
  static var main = "/main";
  static var addRecord = "/addRecord";
  static var logic = "/logic";
  static List<GetPage> get pages => [
    GetPage(
      name: MainRoutePath.init,
      page: () => const SplashPage(),
      binding: SplashBinding(),
    ),
    GetPage(
      name: MainRoutePath.main,
      page: () => const MainPage(),
      binding: MainBinding(),
    ),
    GetPage(
      name: MainRoutePath.addRecord,
      page: () => const AddRecordPage(),
      binding: AddRecordBinding(),
    ),
    GetPage(
      name: MainRoutePath.logic,
      page: () => const LoginPage(),
      binding: LoginBinding(),
    ),
  ];
}
